<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
    // async function demo() {
    //     let res = await axios.get("http://s.linweiqin.com/api/s/getIndexLoopimg");
    //     let res1 = await axios.get("http://s.linweiqin.com/api/s/getIndexLoopimg");
    //     console.log(res,res1);
    // }
    // demo();
    function getUserAccount() {
        return axios.get("http://s.linweiqin.com/api/s/getIndexLoopimg");
    }
    function getUserPermissions() {
        return axios.get("http://s.linweiqin.com/api/s/getIndexLoopimg");
    }
    axios.all([getUserAccount(),getUserPermissions()]).then(
        axios.spread(function(acct,perms){
            console.log(acct,perms);
        })
    )
</script>
</html>